
import direct.directbase.DirectStart
from direct.showbase.DirectObject import DirectObject
from direct.task import Task
import sys
sys.path.append('./objects/')
from objects import objects
from math import sin, cos


class World(DirectObject):
	def __init__(self):
		obj = objects()

		# Set 'Escape' as the the close game button.
		self.accept("escape", sys.exit)		
		#Loads the initial menu of the game
		obj.loadMenu()
		#obj.initGame()

w = World()
run()